const columns = (onRemove, namespace) => {
    return [
        {
            type: 'selection',
            title: '#',
            width: 60
        },
        {
            type: 'index',
            width: 60,
            align: 'center'
        },
        {
            title: '日志标题',
            key: 'title',
            width: 180
        },
        {
            title: '操作用户',
            key: 'username',
            width: 140
        },
        {
            title: '请求URL',
            key: 'requestUri',
            width: 180
        },
        {
            title: '请求方法',
            key: 'method',
            width: 120
        },
        {
            title: '请求IP',
            key: 'clientHost',
            width: 180
        },
        {
            title: '请求客户端',
            key: 'userAgent',
            // width: 180
        },{
          title: '请求状态',
          key: 'status',
          width:100
        },
        {
            title: '创建日期',
            key: 'ctime',
            width: 180
        }
    ]
}
export default columns;
